package cn.kgc.springday04.dao.impl;

import cn.kgc.springday04.dao.UserDao;
import cn.kgc.springday04.entity.User;
import org.springframework.stereotype.Repository;

/**
 * @Author: 课工场
 * @Version: v1.0  2023/6/14
 * @Description:
 */
@Repository("userDao")
public class UserDaoImpl implements UserDao {
    @Override
    public User selectByName() {
        System.out.println("select * from user where username = tom");
        return new User();
    }
}
